package com.zym.community.entity;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@ApiModel("评论类")
public class Comment {

    private int id;
    private int userId;
    //评论对象的类型 1：帖子  2：评论
    private int entityType;
    //评论对象的id
    private int entityId;
    //回复对象的id
    private int targetId;
    private String content;
    private int status;
    private Date createTime;
}
